CIT130 Object Oriented Programming: Java 4 credits Prerequisite(s): CIT111/CIT501 This course focuses on object-oriented programming and design using the Java programming language. Topics covered are: language-independent program design skills, basic language elements (control structures, arrays, strings). Object- Oriented design (classes, inheritance, polymorphisms), error and exception handling input/output, streams, introduction to data structures, commercial software libraries, graphical user interface components and multimedia.

 

 

Text: Computing with Java, 2nd ed by Gittleman, Scott/Jones, ISBN-57676-059-6

Reference:
Java 2 the Complete  Reference - 4th ed., by Naughton & Schildt Osborne Mcgraw Hill (reference text)

 

Instructor: Kenneth L Moore email kmoore@ccac.edu Office N457 http://unix1.ccac.edu/~kmoore/

 

CIT130 BC01 10:00-11:40AM MW Boyce S587

 

Instructor’s Note:  This is a 16 week class compressed to 10 weeks.  I am leaving nothing out.  That means we are going to be moving fast on a difficult course.  Remember that this is a 4 credit class and should require a level of work comparable to a calculus class.  Expect to put in 2 hours of outside work for each hour of class time.  Since we meet 6 hours a week, expect to put in 12 hours additional a week studying and doing homework – at a minimum.

CIT130: Object Oriented Programming:  Java

 

Date

 Topic

 

  WEEK 1

May 19

OBJECT-BASED PROGRAMMING 
 
Review Basics: data types, expressions,  methods & parameter passing,  ( 2.1 - 2.6 )
 Relational operators, control structures (if-else) and (while), stepwise refinement,
 debugging, applications & applets (3.1 - 3.7)   

 Key elements: methods & parameters, selection, iteration & formatting. 

__________

Solving Problems with Java  
Javadoc  ( online documentation ); More control structures & types: (relational operators), nested control structures, for and   do-while, switch, iterative development cycle; Math &  String classes (  4.1 - 4.5, 5.1)
  
 Key elements: methods & parameters, selection, iteration, formatting and proper documentation with Javadoc.

 

  WEEK 2

May 16

 Classes & Objects- Intro to OO design, classes & objects in Java, object composition
 (5.2 - 5.5)

 Key elements:  Larger class design including proper documentation with Javadoc, multiple overloaded constructors, accessor and mutator methods.

_____

 

Event Driven Programming  (6.1 - 6.7) 
 Window components, listeners, Button & TextField; Border & Grid Layouts (7.1, 7.2, 7.4) 
 
 Key elements: Applets using components, layouts & event handling. 

   WEEK 3

Jun 1

 Array Processing : common algorithms, sorting & searching ( 8.1 - 8.4)  
 Multi-dimensional arrays & problem solving ( 8.5 - 8.7 )  
  
 Key Elements:  2 dimensional arrays, decomposition

__

Command line arguments (11.1);
 Introduction to Exception Handling (11.2)
 User Interfaces - more widgets: CheckBox, Choice, List and TextArea (7.3, 7.5)  

 Key Elements: Exception handling; use of other widgets 

WEEK 4

Jun 8

  II.  OBJECT ORIENTED PROGRAMMING 
Inheritance - sub classing, polymorphism, abstract classes, modifiers & access, hierarchies, design using cases & scenarios  (9.1-9.5)

 Key elements: Demonstrate inheritance, ability to modify relatively complex case study using a class hierarchy..

  WEEK 5

Jun 15

Review
Exam 1

  WEEK 6

Jun 22

Handling windows - applet vs standalone apps GUI (10.1-10.2);
Text File I/O ; binary and object I/O  (11.3-11.4) 
 
Key elements: standalone aps and file I/O.   

____

 WEEK 7

Jun 29

III.  ADVANCED PROGRAMMING WITH OBJECTS 
Vectors & Enumeration (13.4)
Advanced user interfaces - Swing components (12.1 - 12.4)


Key Elements: learn how to use vectors and swing components.

 WEEK 8

Jul 6

Linked Lists,  Stacks & Queues ( 13.2, 13.3)
Introduction to Collections: interfaces & classes, lists ( 14.1, 14.2 )

__________________

Collection algorithms ( 14.5 )

 WEEK9

Jul 13

Threads & multimedia (animation , images & sound) ( 15.1-15.4 ) 
Introduction to Networking ( 15.5 )  

WEEK 10

Jul 20

Review; project completion

Exam 2